package com.ssm.service;

import java.util.List;
import java.util.Map;

import com.ssm.pojo.User;

public interface UserService {

	public List<User>  get(User user) throws Exception;
	public User queryByUserName(String name) throws Exception;
	public Map<String, Object> addUser(User user) throws Exception;
	public Map<String, Object> deleteUser(User user) throws Exception;
	public Map<String, Object> updateUser(User user) throws Exception;
	public Map<String, Object> getUser(User user) throws Exception;
	
	public List<User> getAll()throws Exception;
}
